package com.itheima.clients.fullBack;

import com.itheima.clients.UserFeignApi;
import com.itheima.pojo.User;
import org.springframework.stereotype.Component;

@Component
public class UserFeignApiFallBack implements UserFeignApi {
    @Override
    public User findById(String username) {
        User user = new User();
        user.setUsername(username);
        user.setName("?????????????");
        return user;
    }
}
